# Load a sample picture and learn how to recognize it.
import face_recognition

knows=[]
xjp_image = face_recognition.load_image_file("../conf/xjp.jpg")
xjp_face_encoding = face_recognition.face_encodings(xjp_image)[0]
knows.append(xjp_face_encoding)
# Load a second sample picture and learn how to recognize it.
mzd_image = face_recognition.load_image_file("../conf/mzd.jpg")
mzd_face_encoding = face_recognition.face_encodings(mzd_image)[0]
knows.append(mzd_face_encoding)
# Load a second sample picture and learn how to recognize it.
jzm_image = face_recognition.load_image_file("../conf/jzm.jpg")
jzm_face_encoding = face_recognition.face_encodings(jzm_image)[0]
knows.append(jzm_face_encoding)

un_image = face_recognition.load_image_file("../conf/un.jpg")
un_face_encoding = face_recognition.face_encodings(un_image)[0]

re=face_recognition.compare_faces(knows,un_face_encoding)
print(re)